﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DevLocalization
{
	public class DevExpressXtraGaugesLocalizer_zhchs : DevExpress.XtraGauges.Core.Localization.GaugesCoreLocalizer
	{
		public override string Language
		{
			get
			{
				return "简体中文";
			}
		}
		public override string GetLocalizedString(DevExpress.XtraGauges.Core.Localization.GaugesCoreStringId id)
		{
			switch (id)
			{
				case DevExpress.XtraGauges.Core.Localization.GaugesCoreStringId.MsgPathCreationError:
					return "路径不能建立。";
				case DevExpress.XtraGauges.Core.Localization.GaugesCoreStringId.MsgGaugeRestoreError:
					return "仪表控件不能正确还原，因为指定的布局文件包含以下无效元素：{0}。";
				case DevExpress.XtraGauges.Core.Localization.GaugesCoreStringId.MsgTextParsingError:
					return "不能创建一个{0}类的实例，因为指定的文本是不正确的：";
				case DevExpress.XtraGauges.Core.Localization.GaugesCoreStringId.MsgInvalidClassCreationParameters:
					return "不能创建一个{0}类的实例，因为指定的参数是不正确的：";
			}
			return base.GetLocalizedString(id);
		}
	}
}
